﻿* {
    padding: 0;margin: 0;
}
body {
    font-size: 12px;
    font-family: Arial;
}
#page {
    width: 960px;
    margin: 0 auto;
    overflow: hidden;/*ẩn text khi độ dài text vượt khung*/
}
/*Header*/
#header {
    width: 960px;
}
#header #logo {
    height: 150px;
    width: 960px;
    float: left;
}
#header #logo a img {
    float: left;
    width: 200px;    
}
#header #logo img {
    border-style: none;
    border-color: inherit;
    border-width: 760px;
}
/*Menu*/
#menu {
    float: left;
    width: 960px;
    height: 50px;
    background: url(../Images/menu.png) repeat-x;
}
#menu ul {
    font-size: 20px;
    font-weight: bold;
    list-style: none;
}

#menu ul li {
    float: left;
    border-right: 2px solid whitesmoke;
}

#menu ul li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 15px;
    cursor: pointer;
}
#menu ul li a:hover {
    color: #00ffff;
}
#menu ul li a:active {
    color: #00bfff;
}

#menu ul li select {
    color: #808080;
}
/*main*/
#main {
    float: left;
    overflow: hidden;
    background: #fafafa;
}
#main #content {
    float: left;
    width: 660px;
}
#main #right {
    float: left;
    width: 280px;
    margin-left: 20px;
}
#main #content #dangtin {
         border: 1px solid #808080;
        width: 660px;
        height: 300px;
        margin: 10px 0px 30px 0px;
    border-radius: 5px 5px 5px 5px;
    }

#main #content #dangtin #dangtin-left {
    float: left;
    padding: 30px 20px;
    border-style: none;
    width: 271px;
}
#main #content #dangtin #dangtin-right {
    float: left;
    padding: 30px 5px;
    border-style: none;
}
    #right #search {
        float: left;
        width: 278px;
        height: 200px;
        border: 1px solid #808080;
        margin: 0px 0px 10px 0px;
        background: #008080
    }
    #right #login {
        float: left;
        width: 278px;
        height: 200px;
        border: 1px solid #808080;
        margin: 0px 0px 10px 0px;
        background: #008080
    }
.Title {
    margin: 2px 2px 0px 2px;
    font-family: Arial;
    color: white;
    height: 60px;
    width: 274px;
    font-size: 20px;
}
.nd {
    float: left;
    padding: 10px 10px;
}
.nd ul {
    font-size: 20px;
    font-weight: normal;
    list-style: none;
}
.kt {
    font-size: 30px;
    font-weight: bold;
}

.kt .btn {
    margin: 0px 90px;
    width: 80px;
    height: 30px;
    background: #d2691e;
    border: white 3px solid;
    border-radius: 15px 15px 15px 15px;
    color: white;
}

.kt .btn:hover {
    color: #00ffff;
}
.kt .btn:active {
    color: #00bfff;
}
.kt .btn select {
    color: #808080;
}

.dn {
    margin: 5px;
}
/*button dang ky sidebar phai*/
.dn .btn1 {
    float: left;
    width: 80px;
    height: 30px;
    background: #d2691e;
    border: white 3px solid;
    border-radius: 15px 15px 15px 15px;
    color: white;
}

.dn .btn1:hover {
    color: #00ffff;
}
.dn .btn1:active {
    color: #00bfff;
}
.dn .btn1 select {
    color: #808080;
}
/*button dang nhap sidebar phai*/
.dn .btn2 {
    float: right;
    width: 80px;
    height: 30px;
    background: #d2691e;
    border: white 3px solid;
    border-radius: 15px 15px 15px 15px;
    color: white;
}

.dn .btn2:hover {
    color: #00ffff;
}
.dn .btn2:active {
    color: #00bfff;
}
.dn .btn2 select {
    color: #808080;
}
/*lk lớp liên kết quên mật khẩu*/
.lk {
    float: right;
    color: white;
}
.lk a {
    text-decoration: none;
    color: white;
}
.lk a:hover {
    color: #00ffff;
}
.lk a:active {
    color: #00bfff;
}
.lk a select {
    color: #808080;
}

/*Tin tức*/
#news {
   float: left;
    width: 278px;
    height: auto;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #808080;
    margin: 0px 0px 10px 0px;
    background: #FFF 
}
#news #title {
    float: left;
    height: 24px;
    width: 278px;
    background: #008b8b;
}
#news ul {
     font-size: 12px;
    font-weight: normal;
    list-style: none;
    color: black;
}
#news ul li {
    padding: 5px 15px;
    float: left;
}

#news ul li .titlenews{
    width: 278px;

    float: left;
}
#news ul li .titlenews a{
    text-decoration: none;
    color: #d2691e;
}

#news ul li .mainnews{
    width: 278px;
     float: left;
}
#news ul li .mainnews img {
    float: left;
    height: 50px;
    width: 70px;
    margin-right: 5px;
}
#news ul li .mainnews h5 {
    height: 50px;
    width: 200px;
    float: left;
}

/*Thống kê*/
#statistics {
    float: left;
    width: 278px;
    height: 100px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #808080;
    margin: 0px 0px 10px 0px;
    background: #FFF
}
#statistics #title {
    float: left;
    height: 24px;
    width: 278px;
    background: #008b8b;
}
#statistics ul {
    font-size: 12px;
    font-weight: normal;
    list-style: none;
    color: black;
}

#statistics ul li {
    padding: 5px 15px;
    float: left;
}

/*Footer*/
#footer {
    color: #ffffff;
    width: 100%;
    height: auto;
    background: #008b8b;
    overflow: hidden;
    border-top: 5px solid #0000ff; 
}
#footer p {
    float: left;
    padding: 20px 40px;
    width: 200px;
}